package com.yf.zzmusic.mapper;

import com.yf.zzmusic.pojo.dto.followSinger.FansPageDTO;
import com.yf.zzmusic.pojo.dto.followSinger.FollowSingerPageDTO;
import com.yf.zzmusic.pojo.entity.FollowSinger;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yf.zzmusic.pojo.entity.User;

import java.util.List;

/**
 * <p>
 * 关注歌手表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2024-03-13
 */
public interface FollowSingerMapper extends BaseMapper<FollowSinger> {
  List<User> followSingerList(FollowSingerPageDTO followSingerPageDTO);

  Integer followSingerListTotal(Integer userId);

  List<User> fansList(FansPageDTO fansPageDTO);

  Integer fansListTotal (Integer singerId);

  boolean deleteFollowSinger(FollowSinger followSinger);
}
